package cn.jiahua.test16;

import java.util.function.Consumer;

public class Test3 {

    public static void main(String[] args) {
        Consumer<String> consumer =(str)->{
            System.out.println(str);
        };


        consumer.accept("hello");


    }
}
